using UnityEngine;

public class groundtrigger : MonoBehaviour
{
	public static bool triggered;

	private void OnTriggerEnter(Collider other)
	{
		if (other.gameObject.CompareTag("jichang"))
		{
			triggered = true;
		}
	}

	private void OnTriggerStay(Collider other)
	{
		if (other.gameObject.CompareTag("jichang"))
		{
			triggered = true;
		}
	}

	private void OnTriggerExit(Collider other)
	{
		if (other.gameObject.CompareTag("jichang"))
		{
			triggered = false;
		}
	}
}
